# Contributor: Galen Abell <galen@galenabell.com>
# Contributor: Guy Godfroy <guy.godfroy@gugod.fr>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=rss2email
pkgver=3.13.1
pkgrel=3
pkgdesc="Forward RSS feeds to your email address, community maintained"
url="https://github.com/rss2email/rss2email"
arch="noarch"
license="GPL-2.0-only"
depends="python3 py3-feedparser py3-html2text py3-beautifulsoup4"
makedepends="py3-setuptools"
source="$pkgname-$pkgver-meow.tar.gz::https://files.pythonhosted.org/packages/source/r/rss2email/rss2email-$pkgver.tar.gz"
replaces="py3-rss2email"
provides="py3-rss2email=$pkgver-r$pkgrel"

build() {
	python3 setup.py build
}

check() {
	cd test
	python3 -m unittest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
ee8d684d025f06999d1fc37562dca1c622cba6a33e86d8247a715c7a1d0278af8e741b8a0a9eadc31c0d28c08bb742d956b41c42e0268346aa0b5f2a2604b10b  rss2email-3.13.1-meow.tar.gz
"
